#include"UdpServer.hpp"
int main()
{
    Dict dict;
    dict.LoadDict();
    std::unique_ptr<UdpServer> server(std::make_unique<UdpServer>
        ([&dict](const std::string& word,std::string& tran){tran=dict.Translate(word);}));
    server->Init();
    server->start();
}